<include file="Index/header" />

<div class="container">
	<nav class="navbar navbar-default" role="navigation">
		<div class="collapse navbar-collapse" id="bs-example-navbar-collapse-1">
			<ul class="nav navbar-nav">
				<li>
					<a href="?m=admin&c=order&a=showList" class="glyphicon glyphicon-arrow-right">返 回</a>
				</li>
			</ul>
			<form class="navbar-form navbar-right" action="?m=admin&c=order&a=query" method="post" role="search"
				onsubmit="return query()">
				<div class="form-group">
					<input type="text" class="form-control" placeholder="订单编号" name="order_id" id="name" />
				</div> <button type="submit" class="btn btn-default">搜索</button>
			</form>
		</div>
	</nav>

	<foreach name="orderInfo" item="value">
		<form action="?m=admin&c=order&a=update" method="post" onsubmit="return check()"
			style="margin: 0 auto; width: 30%;">
			<div class="form-group">
				<label for="exampleInputEmail1">订单编号</label>
				<input type="text" class="form-control" disabled value="{$value.order_id}" />
			</div>
			<div class="form-group">
				<label for="goods_brand">分类编号</label>
				<input type="text" class="form-control" disabled value="{$value['category_id']}" />
			</div>
			<div class="form-group">
				<label for="goods_name">分类名称</label>
				<input type="text" class="form-control" disabled value="{$value.category_name}" />
			</div>
			<div class="form-group">
				<label for="goods_price">下单时间</label>
				<input type="text" class="form-control" disabled value="{$value.pay_time}" />
			</div>
			<div class="form-group">
				<label for="goods_price">收货人</label>
				<input type="text" class="form-control" disabled value="{$value.shipping_user}" />
			</div>
			<div class="form-group">
				<label for="goods_price">联系电话</label>
				<input type="text" class="form-control" disabled value="{$value.shipping_phone}" />
			</div>
			<div class="form-group">
				<label for="goods_price">收货地址</label>
				<input type="text" class="form-control" disabled value="{$value.shipping_adress}" />
			</div>
			<div class="form-group">
				<label for="goods_price">订单金额￥</label>
				<input type="text" class="form-control" disabled value="{$value.order_money}" />
			</div>
			<input type="hidden" value="{$value.order_id}" name='oi' />
			<div class="form-group">
				<label for="shipping_status">订单状态</label>
				<select name="shipping_status" value="{$value.shipping_status}" class="form-control">
					<option value="待发货">待发货</option>
					<option value="待收货">待收货</option>
					<option value="已收货">已收货</option>
				</select>
			</div>
			<button type="submit" class="btn btn-default btn-block">更 新</button>
		</form>
	</foreach>

</div>

<br />
<br />

<include file="Index/footer" />